import request from '@/utils/request'
// banners图列表
export function getBannersListApi(query, body) {
  return request({
    url: '/system/banners/list',
    method: 'post',
    params: query,
    data: body
  });
}

// 增加banners
export function addBannersApi(body) {
  return request({
    url: '/system/banners/add',
    method: 'post',
    data: body
  });
}

// 修改banners
export function updateBannersApi(body) {
  return request({
    url: '/system/banners/update',
    method: 'post',
    data: body
  });
}

// 删除banners
export function deleteBannersApi(query) {
  return request({
    url: '/system/banners/remove',
    method: 'get',
    params: query
  });
}